using System;
using System.Xml.Serialization;
using MCMLXVII.BackEnd.Services.Common.Messages;

namespace MCMLXVII.BackEnd.Services.SessionManagement.Messages
{
	/// <summary>
	/// Specialized class to request a new session with the backend
	/// </summary>
    [Serializable()]
    [XmlType(Namespace = "http://tempuri.org/")]
    public class msgNewSessionRequest
	{
		private string _Tool;

        public msgNewSessionRequest()
		{
			_Tool = "none";
		}

        public msgNewSessionRequest(string Tool)
        {
            _Tool = Tool;
        }

        /// <summary>
		/// Is the name of the tool that is requesting the session, must be present in the workflow database
		/// </summary>
		public string Tool
		{
			get { return _Tool;}
            set { _Tool=value;}
		}
    }
}
